
export const getConfig = () => {
	let BASE_URL = ""
	let AUDIT_MODE = false
	if (process.env.NODE_ENV === 'development') {
		console.log('开发环境');
		BASE_URL = "http://127.0.0.1:8000/api/v1/"  // 请求URL
		// BASE_URL =  "http://aq3if7.natappfree.cc/api/v1/"  // 内网穿透
		AUDIT_MODE = false  // 审核模式
	} else {
		console.log('生产环境');
		BASE_URL = "http://127.0.0.1:8000/api/v1/"
		AUDIT_MODE = true
	}
	return {
		BASE_URL,
		AUDIT_MODE
	}
}
